package cn.smile.bean.form.basic.member;

import cn.smile.commons.constant.MemberConstant;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class MemberAddForm {

    /**
     * 会员号
     */
    @NotBlank(message = "会员号不能为空")
    private String memberNo;

    /**
     * 会员名
     */
    @NotBlank(message = "会员名不能为空")
    private String memberName;

    /**
     * 会员手机号
     */
    @NotBlank(message = "联系电话不能为空")
    private String memberPhone;

    /**
     * 折扣率(默认100.00)
     */
    private BigDecimal discount = MemberConstant.DEFAULT_DISCOUNT;

    /**
     * 首充金额
     */
    private BigDecimal firstPreStoreAmount;

    /**
     * 赠送金额
     */
    private BigDecimal giftPrice;

    /**
     * 赠送代金券
     */
    private List<String> voucherList;
}
